package demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 14785
 * Date: 2025-07-17
 * Time: 23:52
 */
public class Dog extends Animal{
    //public String name;
    public void bark() {
        System.out.println(this.name+" 正在汪汪叫.....");
    }
}
